package com.wjk.pwd;

import org.apache.shiro.crypto.hash.Md5Hash;

/**
 * @author: RobertWei
 * time: 2021/8/14    11:28
 * @TODO:
 */

public class CreatePed {
    public static void main(String[] args) {

        String password = "123";

        String salt = "erdaye";

        int num = 6;

        String md5 = new Md5Hash(password, salt, num).toString();

        System.out.println("md5 = " + md5);

    }
}
